package com.china08.yxyapi.repository.mg;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.china08.yxyapi.entity.mg.lessons.YxyLessonsUserStudy;

public interface YxyLessonsUserStudyRepository extends MongoRepository<YxyLessonsUserStudy, String> {

    YxyLessonsUserStudy findByUserIdAndLessonsId(String userId, String lessonId);

}
